package com.example.entity.item.dto;

public class FreeWithItemDTO {
    private String itemID; //商品唯一标识符
    private String itemName; //商品名称
    private double itemPrice; //商品价格
    private int itemStock; //商品库存
    private String itemDesc; //商品描述
    private String itemImg; //商品图片
    private String itemAddress; //发货地址
    private String itemOwner; //商品归属店铺ID
    private String itemTags; //商品标签
    private double itemRate; //商品评分
    private String stockUnit; //库存单位
    private String itemUnit; //商品单位
    private Boolean isFree; //是否免费

    public String getItemID() {
        return itemID;
    }

    public void setItemID(String itemID) {
        this.itemID = itemID;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public double getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(double itemPrice) {
        this.itemPrice = itemPrice;
    }

    public int getItemStock() {
        return itemStock;
    }

    public void setItemStock(int itemStock) {
        this.itemStock = itemStock;
    }

    public String getItemDesc() {
        return itemDesc;
    }

    public void setItemDesc(String itemDesc) {
        this.itemDesc = itemDesc;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public String getItemAddress() {
        return itemAddress;
    }

    public void setItemAddress(String itemAddress) {
        this.itemAddress = itemAddress;
    }

    public String getItemOwner() {
        return itemOwner;
    }

    public void setItemOwner(String itemOwner) {
        this.itemOwner = itemOwner;
    }

    public String getItemTags() {
        return itemTags;
    }

    public void setItemTags(String itemTags) {
        this.itemTags = itemTags;
    }

    public double getItemRate() {
        return itemRate;
    }

    public void setItemRate(double itemRate) {
        this.itemRate = itemRate;
    }

    public String getStockUnit() {
        return stockUnit;
    }

    public void setStockUnit(String stockUnit) {
        this.stockUnit = stockUnit;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public void setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
    }

    public Boolean getFree() {
        return isFree;
    }

    public void setFree(Boolean free) {
        isFree = free;
    }

    @Override
    public String toString() {
        return "FreeWithItemDTO{" +
                "itemID='" + itemID + '\'' +
                ", itemName='" + itemName + '\'' +
                ", itemPrice=" + itemPrice +
                ", itemStock=" + itemStock +
                ", itemDesc='" + itemDesc + '\'' +
                ", itemImg='" + itemImg + '\'' +
                ", itemAddress='" + itemAddress + '\'' +
                ", itemOwner='" + itemOwner + '\'' +
                ", itemTags='" + itemTags + '\'' +
                ", itemRate=" + itemRate +
                ", stockUnit='" + stockUnit + '\'' +
                ", itemUnit='" + itemUnit + '\'' +
                ", isFree=" + isFree +
                '}';
    }
}
